<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.min.js"></script>
<script type="text/javascript" src="//ajax.googleapis.com/jsapi"></script>
<script type="text/javascript" src="//www.accountchooser.com/client.js"></script>
<script type="text/javascript">
  function load() {
    google.load("identitytoolkit", "2", {packages: ["ac"], language:"en", callback: callback});
  }
  function callback() {
    window.google.identitytoolkit.setConfig({
        developerKey: "AIzaSyCsR3MR7ucantgF1rXTIxra5vwnK_HZRrc",
        companyName: "Online Medical Store",
        callbackUrl: "http://localhost:8080/Medical/",
        realm: "",
        userStatusUrl: "http://localhost:8080/Medical/",
        loginUrl: "http://localhost:8080/Medical/",
        signupUrl: "http://localhost:8080/Medical/",
        homeUrl: "http://localhost:8080/Medical/",
        logoutUrl: "http://localhost:8080/Medical/",
        idps: ["GoogleApps", "Yahoo", "AOL"],
        tryFederatedFirst: true,
        useContextParam: false,
        language: "en"
    });
    window.google.identitytoolkit.init();
  }
</script>
<script type="text/javascript" src="//apis.google.com/js/client.js?onload=load"></script>
